package com.jic.market.holder;

import com.jic.market.model.LoginUser;

/**
 * description: UserThreadLocalHolder
 * date: 2020/2/24 11:45
 * author: wys
 * version: 1.0
 */
public interface UserThreadLocalHolder {
    /**
     * 保存token
     */
    static final ThreadLocal<String> USER_TOKEN = new ThreadLocal<>();

    /**
     * 保存用户信息
     */
    static final ThreadLocal<LoginUser> CURRENT_USER = new ThreadLocal<>();
}
